package com.eversec.msg.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by eversec on 2018/2/26.
 */
@Component
@ConfigurationProperties(prefix = "kafka.config")
public class KafkaConfig {

    private String consumer_host ;

    private String producer_host ;

    public String getConsumer_host() {
        return consumer_host;
    }

    public void setConsumer_host(String consumer_host) {
        this.consumer_host = consumer_host;
    }

    public String getProducer_host() {
        return producer_host;
    }

    public void setProducer_host(String producer_host) {
        this.producer_host = producer_host;
    }

}
